From 2c9a2e94c834b9e93dc67cf1c14d738e7984a1de Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 28 Sep 2021 15:40:41 -0400 Subject: [PATCH] entry: Clarify docs Mention that max length is in characters. --- gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 9ad392ba3c..399a065d04 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -2295,7 +2295,7 @@ gtk_entry_get_overwrite_mode (GtkEntry *entry) * Sets the maximum allowed length of the contents of the widget. * * If the current contents are longer than the given length, then - * they will be truncated to fit. + * they will be truncated to fit. The length is is in characters. * * This is equivalent to getting @entry's `GtkEntryBuffer` and * calling [method@Gtk.EntryBuffer.set_max_length] on it. -- 2.30.2